package com.example.springbootdemo.mapstruct;

import com.example.springbootdemo.bean.dto.ChunkInfoDTO;
import com.example.springbootdemo.bean.entity.ChunkInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author hh
 * @date 2022/3/2
 */
@Mapper
public interface ChunkInfoConvert {

    ChunkInfoConvert CHUNK_INFO_CONVERT = Mappers.getMapper(ChunkInfoConvert.class);

    ChunkInfo ChunkInfoDTOToChunkInfo(ChunkInfoDTO chunkInfoDTO);

}
